package com.hmall.vo;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Comparator;
import java.util.Date;

/**
 * @Author zhoutao
 * @Description //TODO 新增按批号排序
 * @Date 2018/10/10 13:36
 * @Param
 * @return
 **/

@Data
public class CartProductVo {

//结合了产品和购物车的一个抽象对象

    private Integer id;
    private Integer userId;
    private Integer productId;
    private BigDecimal weight;//重量
    private String grade;
    private String productName;
    private String productSubtitle;
    private String productMainImage;
    private BigDecimal productPrice;
    private Integer productStatus;
    private BigDecimal productTotalPrice;
    private Integer productStock;
    private Integer productChecked;//此商品是否勾选
    private Integer shopId;
    private String shopName;
    private Integer checked;
    private Date createTime;
    private Date updateTime;
    private String memberToken;
    private Integer status;
    private String limitQuantity;//限制数量的一个返回结果
    private Boolean isLimitStock;//是否超出预警 true 超出 false 不超
    private String limitWeight;//限制重量返回结果


}
